package com.agee.system.convert;

import com.agee.system.domain.SysMenu;
import com.agee.system.domain.req.SysMenuCreateReq;
import com.agee.system.domain.req.SysMenuUpdateReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author qimingjin
 * @date 2022-09-22 11:22
 * @Description:
 */
@Mapper
public interface SysMenuConvert {
    SysMenuConvert INSTANCE = Mappers.getMapper(SysMenuConvert.class);

    SysMenu convert(SysMenuCreateReq sysMenuCreateReq);

    SysMenu convert(SysMenuUpdateReq sysMenuUpdateReq);

}
